package com.zhb.cloud.core.util;

import java.io.Serializable;

/**
 * @ClassName: JsonReturn
 * @author: zhb
 * @date: 2017年8月10日 上午10:15:18
 * @Description: 返回结果
 *
 */
public class JsonReturn implements Serializable {
	private static final long serialVersionUID = 2471726489464587659L;

	private Integer code; // 返回code

	private Object data; // 返回数据

	private String message; // 返回信息

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	@Override
	public String toString() {
		return "JsonReturn [code=" + code + ", data=" + data + ", message=" + message + "]";
	}

}
